<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>047-元素水平居中.html</title>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		div{
			width: 200px;
			height: 200px;
			background-color: red;
			margin: 0 auto;	
		}
		/*body{
			padding-left: 583px;
		}*/
	</style>
</head>
<body>
	<div></div>
</body>
</html>